@echo off

:: 安装依赖
echo Installing dependencies...
call pnpm install

:: 构建项目
echo Building project...
call pnpm build

:: 复制配置文件
echo Copying configuration files...
copy .env dist\.env

:: 启动服务
echo Starting server...
cd dist
set NODE_ENV=production
node main.js 